import os

if __name__ == '__main__':
    print os.path.realpath(__file__)
    print os.path.split(os.path.realpath(__file__))[0]
    print os.path.split(os.path.realpath(__file__))[1]